package com.ssy.lingxi.product.common;

/**
* 仓库服务常量
* @author wrc
* @date 2020/7/7
*/
public class InvoicesTypeConstant {

    public static final String redisKey="product";

    /**
     * 单据类型方向 1.入库 2.出库
     */
    public interface InvoicesType {
        Integer STORAGE = 1;
        Integer OUTGOING  = 2;
    }


    /**
     * 审查单据状态：1.未审核 2.已审核
     */
    public interface Audit {
        int ALREADY_AUDIT = 1;
        int NOT_AUDIT  = 2;
    }


    /**
    * 是否所有会员共享
    * @author wrc
    * @date 2020/7/8
    */
    public interface IsAllMemberShare {
        int YES = 1;
        int NOT  = 0;
    }

    /**
    * 调拨类型
    * @author wrc
    * @date 2020/7/9
    */
    public interface AllotType{
        int FOLD =1;
        int EXPORT =2;

    }
    /**
    * 仓位扣减记录类型：1.仓位添加 2.修改仓位库存数量 3.调拨仓位库存 4. 用户下单库存扣减 5.取消订单返回库存
    * @author wrc
    * @date 2020/9/9
    */
    public interface PositionInventoryDeductionRecordType{
        int ADD =1;
        int UPDATE =2;
        int ALLOCATION =3;
        int PLACE_ORDER =4;
        int  CANCEL_ORDER_AND_RETURN_INVENTORY=5;

    }
}
